#ifndef __SUGGEST_ICE__
#define __SUGGEST_ICE__

module suggestion{

    struct SG
    {   
        string          text;   // 需要检索的数据
        long            index;  // 数据对应的id
    };
    sequence<SG> VectorSg;
    sequence<long> VectorUid;

    interface Suggest {
        VectorUid doSearch(string query, VectorSg targetData, long sessionId);
    };
};

#endif
